package com.itheima.code_block.local_demo;

public class Demo {
    public static void main(String[] args) {
        int a = 10;
        System.out.println(a);
        // 局部代码块
        {
            System.out.println(a);
            int b = 20;
            System.out.println(b);
        }

        System.out.println(a);
        // System.out.println(b);


    }
}
